package com.woniu.uums.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 角色表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "zy_role")
public class Role implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 角色名称/权限等级名称
     */
    @TableField(value = "role_name")
    private String roleName;

    /**
     * 0删除/1正常
     */
    @TableField(value = "`status`")
    private Integer status;

    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改人id
     */
    @TableField(value = "update_by")
    private Integer updateBy;

    /**
     * 最后修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "remark")
    private String remark;

    private static final long serialVersionUID = 1L;
}